<?php 
/**
* 
*/
class Code 
{
	
	public $config=array(
		'imageW'=>400,
		'imageH'=>200,
		'fontSize'=>"30",
		'length'=>4,
		'useNoise'=>true,
		);//配置

	public $src;
	public function __construct($config=array())
	{	
		//合并配置
		$this->config = array_merge($this->config,$config);
	}

	public function entry()
	{
		$this->create();
		$this->create();
		$this->create();
		$this->create();
		$this->create();
	}

	public function create($value='')
	{
		# code...
	}
}












 ?>